// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Vant from 'vant';
import 'vant/lib/index.css';
import axios from 'axios'
import qs from 'qs'
Vue.prototype.pubilcM  = pubilcFun;


Vue.prototype.$axios = axios
Vue.prototype.Qs = qs 

let echarts = require('echarts/lib/echarts')
// 引入折线图等组件
require('echarts/lib/chart/pie')
require('echarts/lib/chart/line')

// 引入提示框和title组件，图例
require('echarts/lib/component/tooltip')
require('echarts/lib/component/title')
require('echarts/lib/component/legend')
import pubilcFun from "./../src/utils/pubilc";

Vue.prototype.$echarts = echarts
Vue.use(Vant);

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})



